import subprocess

def run_mobile_test():
    command = [
        "pytest",
        "--alluredir=D:\\allure-results",
        "--platformName=Android",
        "--automationName=UiAutomator2",
        "--appUrl=D:\\download\\mall.apk",
        "--deviceName=192.168.31.11:5550",
        "--appPackageName=uni.UNI31459F4",
        "--appActivityName=io.dcloud.PandoraEntry",
        "D:\\project\\vscode\\HIMartTest"
    ]
    
    subprocess.run(command)